<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class Transfer extends Model
{
	use HasDateTimeFormatter;
    public function from()
    {
        return $this->belongsTo(User::class, 'from_user');
    }

    public function to()
    {
        return $this->belongsTo(User::class, 'to_user');
    }
}
